<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<title>Projet clé USB</title>
</h:head>

<h:body>

	<ui:composition template="/authLayout.xhtml">
		<ui:define name="content">
			<div class="formConnexion">
				<h:form>
					<fieldset>
						<legend>Connexion</legend>
						<table>
							<tr>
								<td><h:inputText id="login" name="login"
										value="#{auth.login}" /> <p:watermark for="login"
										value="Login.." /></td>
							</tr>
							<tr>
								<td><h:inputText id="password" name="password"
										value="#{auth.password}" Placeholder="Mot de passe" /> <p:watermark
										for="password" value="Mot de passe.." /></td>
							</tr>
							<tr>
								<td><p:commandButton styleClass="btn btn-info" id="submit"
										value="Se connecter" actionListener="#{auth.connexion}" /></td>
							</tr>

						</table>
					</fieldset>

				</h:form>
			</div>
		</ui:define>
	</ui:composition>

</h:body>
</html>